call setenv
call rd /q /s %dest_log_dir%
call pscp -load %ptt_name% -pw %psw% -r %usr%@%ip%:%TOMCAT_HOME%/logs %dest_log_dir%